﻿// -----------------------------------------------------------------------
// <copyright file="TimeTableEntery.cs" company="">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------

namespace RailroadDal
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;

    /// <summary>
    /// TODO: Update summary.
    /// </summary>
    public class TimeTableEntery
    {
        private string stationName;
        private DateTime arrive;
        private DateTime depart;

        public string StationName
        {
            get
            {
                return stationName;
            }
            set
            {
                stationName = value;
            }
        }

        public DateTime Arrive
        {
            get
            {
                return arrive;
            }
            set
            {
                arrive = value;
            }
        }

        public DateTime Depart
        {
            get
            {
                return depart;
            }
            set
            {
                depart = value;
            }
        }

        public TimeTableEntery() 
        {
            this.stationName = string.Empty;
        }

        public TimeTableEntery(string stationName, DateTime arrive, DateTime depart)
        {
            this.stationName = stationName;
            this.arrive = arrive;
            this.depart = depart;
        }
    }
}
